Automated Presentation of directory src/swtools/trubasic/rolldemos/demos/popup/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


Please be aware: what appears below are the v4.2 DT bits in auto-generated html form.
As we have the time, we will update these to reflect the current "state of the world".


README file from "popup" directory

MENUS
-----

The most recent addition is menu support for the GL version (not X).
The exectuable irix4/gl4tru* contains this addition.

	def popup(menu$)

where menu$ is in the format:

	<title>|<item1>|<item2>|<roll1> ( <subtitle>|<item3>) |<item4>

returned:         #1      #2       #3                   #4        #5

the first item becomes the menu header and the following items become elements
in the menu.

Items are separated by the | symbol.

Submenus or roll-over menus are indicated using the open and close parenthesis
within an item.

The value returned is the number of the element selected.  Return values are
automatically assigned to selectable items (titles are not selectable).

Negative one is returned when no selection is made or when the menu string is
not in the correct format.

***

Future Releases:

The True BASIC Developer's Toolkit for Motif (which of course will be portable
to the Macintosh and DOS compatibles) will support the creation of menus with
ids that are returned as events.  In other words, the format for setting up
menus will change.  This addition is provided now to enable users to write
applications that use menus while the Motif Toolkit is being developed.


Files of interest from "src/swtools/trubasic/rolldemos/demos/popup" directory

Documentation


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire popup directory.

Copyright © 1995, Silicon Graphics, Inc.